home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts6-06
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: How to retrieve the Handle from a Dialog
- Date: Sat, 09 Mar 96 20:14:44 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4hsos0$rsm@sam.inforamp.net>
- References: <4hjvn8$f2l@neptunus.pi.net>
- NNTP-Posting-Host: ts6-06.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4hjvn8$f2l@neptunus.pi.net>, cat.tech@pi.net (Remy Cool) wrote:
- >Is there a way to retrieve the Handle (HWND) from the Dialog ?
- HWND handle = pDialog->HWindow;
-
- >So I can use it in my ' Draw Bmp Code' ?
- You could write a virtual Paint() method for your dialog. You don't need the
- HWND to do this. You could also use a bitmap control.
-
- Agrivar
-